package triangle.freshmanemail;

import triangle.utils.ProgramWrapper;

public class EmailStoreStructure {

	private String firstName;
	private String lastName;
	private String middleName;
	private String emailAddress;
	public boolean emailPopulated = false;
	
	
	public EmailStoreStructure(String firstName, String lastName, String middleName)
	{
		this.firstName = firstName.toLowerCase().trim();
		this.lastName = lastName.toLowerCase().trim();
		this.middleName = middleName.toLowerCase().trim();
	}
	
	public String getWgetFormatName()
	{
		return this.firstName + "+" + this.middleName + "+" + this.lastName;
	}
	
	public String getFirstName() {
		return firstName;
	}
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	public String getLastName() {
		return lastName;
	}
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	public String getMiddleName() {
		return middleName;
	}
	public void setMiddleName(String middleName) {
		this.middleName = middleName;
	}
	public String getEmailAddress() {
		return emailAddress;
	}
	public void setEmailAddress(String emailAddress) {
		this.emailAddress = emailAddress;
	}
	
	public String toString()
	{
		return this.lastName + "," + this.firstName + "," + this.middleName + "," + this.emailAddress;
	}

}
